package com.qingke.practice1;

public class Caculation {
	private int n1;
	private int n2;
	
	public Caculation(int n1,int n2){
		this.n1 = n1;
		this.n2 = n2;
	}
	
	public void addition(){
		System.out.println(n1+n2);
	}
	
	public void subtration(){
		System.out.println(Math.abs(n1-n2));
	}
	
	public void multiplication(){
		System.out.println(n1*n2);
	}
	
	public void division(){
		System.out.println(n1/n2);
	}
	
	public static void main(String[]args){
		Caculation c = new Caculation(5,2);
		c.division();
	}
}
